/**
 * Aptana Studio
 * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
 * Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
 * Please see the license.html included with this distribution for details.
 * Any modifications to this file must keep this entire header intact.
 */

package com.aptana.ide.ui.io.internal;

import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.window.IShellProvider;

import com.aptana.ui.IPropertyDialogProvider;
import com.aptana.ide.ui.io.dialogs.GenericConnectionPropertyDialog;

/**
 * @author Max Stepanov
 *
 */
public class GenericConnectionPropertyDialogProvider implements IPropertyDialogProvider {

	/* (non-Javadoc)
	 * @see com.aptana.ide.ui.io.IPropertyDialogProvider#createPropertyDialog(org.eclipse.jface.window.IShellProvider)
	 */
	public Dialog createPropertyDialog(IShellProvider shellProvider) {
		return new GenericConnectionPropertyDialog(shellProvider.getShell());
	}
}
